package main.java.com.example.demo.mapper;

import com.example.demo.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    User findUser(User user);

    void insertUser(User user);

    List<User> findAllUser();

    void delUser(User user);
}
